<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网站后台管理 - Powered by SupeCMS</title>
<link rel="stylesheet" type="text/css" href="../manage/css/datepicker.css" />
<script type="text/javascript" src="../js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="../js/colorpicker/colorpicker.js?skin=white"></script>
<script type="text/javascript" src="../manage/js/datepicker.min.js"></script>
<script type="text/javascript" src="../manage/js/common.js"></script>

<script type="text/javascript">
$(function(){
    $("#addtime").datepicker();


    $("#colorset").colorpicker ({
        onSubmit: function(hsb, hex, rgb, el) {
            $(el).val("#" +hex);
            $(el).hidePicker();
        },
        onBeforeShow: function () {
            $(this).setColor(this.value);
        }
    }).bind('keyup', function(){
        $(this).setColor(this.value);
    });
});
</script>
</head>
<body>
<input type="text" maxlength="10"  size="20" value="2012-10-04" id="addtime" name="addtime" />

<input type="text" maxlength="10"  size="20" value="#ff0000" id="colorset" name="colorset" />
</body>
</html>